package br.com.ngame.device;

import java.awt.Frame;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.image.BufferedImage;

public interface VideoDevice
{
	static final int RESULT_OK = 0;
	public int getWidth();
	public int getHeight();
	public int setup();
	public int cleanup();
	public Graphics2D getGraphics();
	public Image getScreenImage();
	public void update();
	public BufferedImage newImage(int width, int height);
	public BufferedImage cloneImage(Image img);
	public boolean isFullScreenSupported();
	public void setFullScreen(boolean value);
	public boolean isFullScreen();
	public Frame getFrame();
}
